<template>
  <a-result status="404" title="404" sub-title="Sorry, the page you visited does not exist.">
    <template #extra>
      <a-button type="primary" @click="toHome">
        Back Home
      </a-button>
    </template>
  </a-result>
</template>

<script>
import storage from 'store'
import { ACCESS_TOKEN } from '@/store/mutation-types'
export default {
  name: 'Exception404',
  created () {
    // this.$router.push({ path: '/' })
  },
  methods: {
    toHome () {
      // this.$router.push({ path: '/' })
      window.location.href = window.location.protocol + '//' +window.location.host
    }
  }
}
</script>
